-
Notifications
You must be signed in to change notification settings - Fork 103
Don't show julia update messages when not interactive
#1258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Clippy failures addressed in #1259 |
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds functionality to suppress Julia update messages when running in non-interactive mode, addressing issue #1256. The change prevents update notifications from appearing when Julia is run with command-line arguments like --version or -e.
- Added test infrastructure methods for accessing config paths and depot directories
- Implemented comprehensive tests to verify update message suppression in non-interactive scenarios
- Added test coverage for both single channel and multi-channel update scenarios
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| tests/utils.rs | Added helper methods to access config file path and depot directory path |
| tests/command_update.rs | Added comprehensive tests verifying update messages don't appear in non-interactive Julia usage |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
I think the src changes are simple enough here. Review still welcome but I'm going to proceed. |
Fixes #1256
@KristofferC